18 lines
331 B
Desktop File
18 lines
331 B
Desktop File
[Unit]
|
|
Description=Yet Another Private WAN
|
|
BindsTo=node.service
|
|
After=node.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
RemainAfterExit=true
|
|
ExecStart=/usr/local/bin/yap start-all
|
|
ExecStop=/usr/local/bin/yap stop-all
|
|
ExecReload=/usr/local/bin/yap reload
|
|
Restart=on-failure
|
|
RestartSec=1
|
|
StartLimitInterval=1
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|