contrib/systemd/paprika.service (view raw)
1# /etc/systemd/system/paprika.service
2# Example Systemd service for Paprika
3[Unit]
4Description=Paprika IRC Bot
5After=network-online.target
6
7[Service]
8Type=simple
9DynamicUser=yes
10# See `man systemd.exec` for where these paths go.
11StateDirectory=paprika
12ConfigurationDirectory=paprika
13ExecStart=/usr/local/bin/paprika
14
15[Install]
16WantedBy=multi-user.target