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