Pārlūkot izejas kodu

Add a systemd default file

Maniack Crudelis 6 gadi atpakaļ
vecāks
revīzija
5ef1d07752
1 mainītis faili ar 13 papildinājumiem un 0 dzēšanām
  1. 13 0
      conf/systemd.service

+ 13 - 0
conf/systemd.service

@@ -0,0 +1,13 @@
+[Unit]
+Description=Small description of the service
+After=network.target
+
+[Service]
+Type=simple
+User=__APP__
+Group=__APP__
+WorkingDirectory=__FINALPATH__/
+ExecStart=__FINALPATH__/script >> /var/log/__APP__/__APP__.log 2>&1
+
+[Install]
+WantedBy=multi-user.target