Queer European MD passionate about IT
Browse Source

Systemd service

Davte 4 years ago
parent
commit
83d0f2ebe2
1 changed files with 11 additions and 0 deletions
  1. 11 0
      ciclopibot.service

+ 11 - 0
ciclopibot.service

@@ -0,0 +1,11 @@
+[Unit]
+Description=ciclopibot
+
+[Service]
+WorkingDirectory=/home/ciclopi/ciclopibot/
+Restart=always
+RestartSec=30
+ExecStart=/home/ciclopi/ciclopibot/run_me.sh
+
+[Install]
+WantedBy=default.target