systemd managment for daemons
This commit is contained in:
14
systemd/packets-udp.service
Normal file
14
systemd/packets-udp.service
Normal file
@@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=Respond to every request for packages in local network.
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=packets
|
||||
WorkingDirectory=/etc/packets
|
||||
ExecStart=/etc/packets/udpsocket
|
||||
Restart=always
|
||||
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user