diff options
| author | Jokler <jokler.contact@gmail.com> | 2017-11-03 01:14:37 +0100 |
|---|---|---|
| committer | Jokler <jokler.contact@gmail.com> | 2017-11-03 04:20:14 +0100 |
| commit | 4c18f59ac4dfe1372374ecc63a5976ad58a5e272 (patch) | |
| tree | 2d80aca57c46112183d016d834f8568369e70011 /systemd/frippy.service | |
| parent | 8e573c5a7a6747dd3f01c3ed97c88a3c5a57d7ec (diff) | |
| download | frippy-4c18f59ac4dfe1372374ecc63a5976ad58a5e272.tar.gz frippy-4c18f59ac4dfe1372374ecc63a5976ad58a5e272.zip | |
Add systemd service
Diffstat (limited to 'systemd/frippy.service')
| -rw-r--r-- | systemd/frippy.service | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/systemd/frippy.service b/systemd/frippy.service new file mode 100644 index 0000000..1fb6cd7 --- /dev/null +++ b/systemd/frippy.service @@ -0,0 +1,15 @@ +[Unit] +Description=IRC Bot written in Rust +After=network-online.target + +[Service] +Type=simple +User=frippy +Group=frippy +WorkingDirectory=/etc/frippy +ExecStart=/usr/bin/frippy +Restart=always +RestartSec=30 + +[Install] +WantedBy=multi-user.target |
