Add n2n systemd units
This commit is contained in:
parent
89d72211ec
commit
66fb3372ba
5 changed files with 67 additions and 0 deletions
16
debian/systemd/supernode.service
vendored
Normal file
16
debian/systemd/supernode.service
vendored
Normal file
|
@ -0,0 +1,16 @@
|
|||
[Unit]
|
||||
Description=n2n supernode process
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=n2n
|
||||
Group=n2n
|
||||
ExecStart=/usr/sbin/supernode /etc/n2n/supernode.conf -f
|
||||
Restart=on-abnormal
|
||||
RestartSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Alias=
|
Loading…
Add table
Add a link
Reference in a new issue