diff options
| author | Catlinman <contact@catlinman.com> | 2020-01-27 22:21:23 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-01-27 22:21:23 +0100 |
| commit | a6e9551c19e082c0e12f1518300b6459e4791b95 (patch) | |
| tree | a9dbbc7e362f8f7426153c0c6db743d998c3dab9 | |
| parent | c12b29977ea977190bfdc2807db58f6270dfaa18 (diff) | |
| parent | 9234b78b507dfd774f8a876c9740814e68427057 (diff) | |
| download | pokebot-a6e9551c19e082c0e12f1518300b6459e4791b95.tar.gz pokebot-a6e9551c19e082c0e12f1518300b6459e4791b95.zip | |
Merge pull request #23 from Mavulp/systemd-service
Add systemd service
| -rw-r--r-- | systemd/pokebot.service | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/systemd/pokebot.service b/systemd/pokebot.service new file mode 100644 index 0000000..46c6f1b --- /dev/null +++ b/systemd/pokebot.service @@ -0,0 +1,15 @@ +[Unit] +Description=TeamSpeak 3 Music Bot +After=network-online.target + +[Service] +Type=simple +User=pokebot +Group=pokebot +WorkingDirectory=/etc/pokebot +ExecStart=/usr/bin/pokebot +Restart=always +RestartSec=30 + +[Install] +WantedBy=multi-user.target |
