mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-28 22:25:07 +03:00
Add systemd service files
This commit is contained in:
parent
0d156a6335
commit
cdf00ddceb
2 changed files with 30 additions and 0 deletions
10
contrib/systemd/yggdrasil-resume.service
Normal file
10
contrib/systemd/yggdrasil-resume.service
Normal file
|
@ -0,0 +1,10 @@
|
|||
[Unit]
|
||||
Description=Restart yggdrasil on resume from sleep
|
||||
After=sleep.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/bin/systemctl restart yggdrasil
|
||||
|
||||
[Install]
|
||||
WantedBy=sleep.target
|
Loading…
Add table
Add a link
Reference in a new issue