itte/examples/hellobot/hellobot.service

12 lines
192 B
INI

[Unit]
Description=hellobot — an IRC bot
[Service]
WorkingDirectory=/path/to/hellobot
ExecStart=/usr/bin/lua ./hellobot.lua
Restart=always
RestartSec=300
[Install]
WantedBy=default.target