| 1 | [Unit] |
| 2 | Description=Atheme IRC Services |
| 3 | Documentation=file:/usr/share/doc/atheme-services/examples/atheme.conf.example |
| 4 | After=network.target |
| 5 | |
| 6 | [Service] |
| 7 | User=irc |
| 8 | Group=irc |
| 9 | RuntimeDirectory=atheme |
| 10 | PIDFile=/run/atheme/atheme.pid |
| 11 | ExecStart=/usr/bin/atheme-services -n |
| 12 | ExecReload=/bin/kill -HUP $MAINPID |
| 13 | Restart=on-failure |
| 14 | |
| 15 | ProtectSystem=yes |
| 16 | ProtectHome=yes |
| 17 | |
| 18 | [Install] |
| 19 | WantedBy=multi-user.target |