systemd file created
This commit is contained in:
15
notify.service
Normal file
15
notify.service
Normal file
@@ -0,0 +1,15 @@
|
||||
[Unit]
|
||||
Description="Notification service"
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
User=root
|
||||
Group=root
|
||||
Type=simple
|
||||
Restart=on-failure
|
||||
RestartSec=5s
|
||||
ExecStart=/home/user/projects/notification/main
|
||||
WorkingDirectory=/home/user/projects/notification
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user