diff --git a/e5sub.service b/e5sub.service new file mode 100644 index 0000000..54d9bdd --- /dev/null +++ b/e5sub.service @@ -0,0 +1,12 @@ +[Unit] +Description=Telegram E5Sub Bot + +[Service] +Type=simple +WorkingDirectory=/opt/e5sub +ExecStart=/opt/e5sub/E5SubBot +Restart=always +RestartSec=30 + +[Install] +WantedBy=multi-user.target \ No newline at end of file