Explorar el Código

Updated arborescence and UNIX permissions

Penta hace 5 años
padre
commit
c5f3ac58a3
Se han modificado 2 ficheros con 15 adiciones y 0 borrados
  1. 15 0
      extra/malbot.service
  2. 0 0
      myanimebot.py

+ 15 - 0
extra/malbot.service

@@ -0,0 +1,15 @@
+[Unit]
+Description=MyAnimeList Discord Bot
+After=network.target nss-lookup.target
+
+[Service]
+Type=simple
+ExecStart=/usr/local/bin/python3.7 /opt/malbot/myanimebot.py
+ExecStop=/bin/kill -15 $MAINPID
+Restart=on-failure
+
+User=malbot
+Group=malbot
+
+[Install]
+WantedBy=multi-user.target

+ 0 - 0
myanimebot.py