mirror of
https://github.com/taigrr/godns
synced 2025-01-18 04:03:25 -08:00
add systemd config file
This commit is contained in:
12
systemd/godns.service
Normal file
12
systemd/godns.service
Normal file
@@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=GoDNS Service
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/path/to/your/godns-dir/godns -c=/path/to/your/godns-dir/config.json
|
||||
Restart=always
|
||||
KillMode=process
|
||||
RestartSec=2s
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user