systemd file created

This commit is contained in:
A'zamov Samandar
2025-04-25 17:36:36 +05:00
parent 1209499f6e
commit 83be69c277
2 changed files with 17 additions and 2 deletions

15
notify.service Normal file
View 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