blob: 54135afcde717feef62b8e5117bbeeb4e89c265b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
[Unit]
Description=FreeNitori Discord Bot
Wants=network-online.target
After=network-online.target
[Service]
User=freenitori
Group=freenitori
ExecStart=/usr/bin/freenitori
ExecStop=/usr/bin/nitorictl -s /tmp/nitori -c shutdown
WorkingDirectory=/etc/freenitori
PrivateDevices=true
ProtectSystem=full
ProtectHome=true
NoNewPrivileges=true
[Install]
WantedBy=multi-user.target
|