blob: 1a2cd4cabc14e972bdc58cf2e4212f8832932781 (
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 shutdown
WorkingDirectory=/etc/freenitori
PrivateDevices=true
ProtectSystem=full
ProtectHome=true
NoNewPrivileges=true
[Install]
WantedBy=multi-user.target
|