Closed MartinzSmitt closed 7 years ago
All working Code:
[Unit]
Description=Telegram-Bot
After=network.target
[Service]
Type=simple
WorkingDirectory=/home/mz/telegram-bot/
ExecStart=/home/mz/telegram-bot/launch.sh
User=mz
Restart=on-failure
[Install]
WantedBy=multi-user.target
Hello, on ubuntu 16.04 upstart not working, please help rewrite daemon script for Systemd
Upstart script:
I try write Systemd script, but its not working: