-
-
Save antelio/81b8057390f3a7ce8b497c967e30490b to your computer and use it in GitHub Desktop.
Simple Systemd services for my local server
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# create /etc/systemd/system/btsync.service | |
# systemctl start btsync.service | |
# systemctl status btsync.service | |
# systemctl enable btsync.service | |
[Unit] | |
Description=BTSync daemon | |
[Service] | |
#Type=forking | |
PIDFile=/run/btsync/btsync.pid | |
ExecStart=/usr/local/bin/btsync --config /usr/local/etc/btsync.conf | |
[Install] | |
WantedBy=multi-user.target |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# create /etc/systemd/system/noip2.service | |
# systemctl start noip2.service | |
# systemctl status noip2.service | |
# systemctl enable noip2.service | |
[Unit] | |
Description=NOIp Dynamic ip | |
[Service] | |
ExecStart=/usr/local/bin/noip2 | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment