blob: 236c5f20ed83b352213d0c4e811b42343b5f0def (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
[Unit]
Description=Hacker News RSS
After=network.target
[Service]
Type=simple
EnvironmentFile=/etc/go-hnrss.conf
User=hnrss
ExecStart=/usr/bin/go-hnrss -bind ${LISTEN_ADDRESS} -rootRedirect ${ROOT_REDIRECT}
Restart=always
ProtectSystem=strict
PrivateDevices=true
ProtectKernelTunables=true
ProtectControlGroups=true
[Install]
WantedBy=multi-user.target
|