Added sample .service

This commit is contained in:
Adolfo Gómez García 2017-02-07 07:52:24 +01:00
parent 186190ddff
commit 84d3a2d67f
2 changed files with 14 additions and 0 deletions

1
udsProxy/.gitignore vendored
View File

@ -3,3 +3,4 @@ pkg
vars
src/*
!src/uds
udsproxy

13
udsProxy/udsproxy.service Normal file
View File

@ -0,0 +1,13 @@
[Unit]
Description=The UDSPRoxy Server
After=network.target remote-fs.target nss-lookup.target
[Service]
Type=Simple
ExecStart=/usr/bin/udsproxy
ExecStop=/bin/kill $MAINPID
PrivateTmp=true
Restart=on-abort
[Install]
WantedBy=multi-user.target