Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't start the service on Raspbian #10

Open
SamusAranX opened this issue Jul 27, 2017 · 3 comments
Open

Can't start the service on Raspbian #10

SamusAranX opened this issue Jul 27, 2017 · 3 comments

Comments

@SamusAranX
Copy link

I followed the instructions in the readme, but look for yourself:

pi@airplaypi:~$ sudo service avahi-alias start
Failed to start avahi-alias.service: Unit avahi-alias.service failed to load: No such file or directory.

What can I do to make this work?

@mortee
Copy link

mortee commented Feb 28, 2018

+1

@n2ray
Copy link

n2ray commented May 30, 2018

This works for me
sudo /usr/local/bin/avahi-alias [start|stop|restart]

@jdmssmkr
Copy link

jdmssmkr commented Feb 3, 2019

You can create a systemd service file /etc/systemd/system/avahi-alias.service:

[Unit]
Description=Avahi Aliases
Requires=avahi-daemon.service

[Service]
Type=simple
ExecStart=/usr/local/bin/avahi-alias start
ExecStop=/usr/local/bin/avahi-alias stop
ExecReload=/usr/local/bin/avahi-alias restart

[Install]
WantedBy=multi-user.target

Starting and stopping the service should now work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants