Explorar o código

- Added systemd unit file

Parad0x %!s(int64=6) %!d(string=hai) anos
pai
achega
b6c72c2ebb
Modificáronse 1 ficheiros con 11 adicións e 0 borrados
  1. 11 0
      systemd-unit/totify.service

+ 11 - 0
systemd-unit/totify.service

@@ -0,0 +1,11 @@
+[Unit]
+Description=Totify server
+Wants=basic.target
+
+[Service]
+Type=simple
+ExecStart=/home/totify/totify
+Restart=on-failure
+User=totify
+Group=totify
+Environment="TELEGRAM_TOKEN="