File: pygopherd.service

package info (click to toggle)
pygopherd 3.0.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,928 kB
  • sloc: python: 6,534; makefile: 40; sh: 28
file content (23 lines) | stat: -rw-r--r-- 517 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
[Unit]
Description=Pygopherd Server
Wants=network-online.target
After=network-online.target

[Service]
User=gopher
Group=gopher
ProtectHome=true
ProtectSystem=strict
NoNewPrivileges=true
RuntimeDirectory=pygopherd
ReadWritePaths=/var/run/pygopherd /run/pygopherd /var/gopher
SyslogIdentifier=pygopherd
CapabilityBoundingSet=CAP_NET_BIND_SERVICE CAP_SYS_CHROOT
AmbientCapabilities=CAP_NET_BIND_SERVICE CAP_SYS_CHROOT
ExecStart=/usr/sbin/pygopherd
Restart=always
TimeoutStopSec=5

[Install]
WantedBy=multi-user.target