Add systemd service file + update install docs

This commit is contained in:
cynfo3000
2026-03-04 09:22:10 +01:00
parent 2f90697fd0
commit 57a5a3d3ee
2 changed files with 28 additions and 17 deletions
+17
View File
@@ -0,0 +1,17 @@
[Unit]
Description=RMM Backend
After=network.target postgresql.service
Requires=postgresql.service
[Service]
Type=simple
User=root
WorkingDirectory=/home/cynfo/rmm
ExecStart=/home/cynfo/rmm/rmm-backend
Restart=on-failure
RestartSec=5
StandardOutput=append:/home/cynfo/rmm/rmm.log
StandardError=append:/home/cynfo/rmm/rmm.log
[Install]
WantedBy=multi-user.target