Add example systemd service and tmpfile.d files.
This commit is contained in:
parent
1e93411810
commit
b0569ab916
@ -2,6 +2,7 @@ SUBDIRS = \
|
||||
src \
|
||||
data \
|
||||
etc \
|
||||
extras \
|
||||
docs \
|
||||
m4macros \
|
||||
tests
|
||||
|
@ -273,6 +273,8 @@ src/Makefile
|
||||
data/Makefile
|
||||
data/templates/Makefile
|
||||
etc/Makefile
|
||||
extras/Makefile
|
||||
extras/systemd/Makefile
|
||||
docs/Makefile
|
||||
docs/man5/Makefile
|
||||
docs/man5/tinyproxy.conf.txt
|
||||
|
2
extras/Makefile.am
Normal file
2
extras/Makefile.am
Normal file
@ -0,0 +1,2 @@
|
||||
SUBDIRS = \
|
||||
systemd
|
3
extras/systemd/Makefile.am
Normal file
3
extras/systemd/Makefile.am
Normal file
@ -0,0 +1,3 @@
|
||||
EXTRA_DIST = \
|
||||
tinyproxy.service \
|
||||
tinyproxy.tmpfile
|
13
extras/systemd/tinyproxy.service
Normal file
13
extras/systemd/tinyproxy.service
Normal file
@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=Tinyproxy lightweight HTTP Proxy
|
||||
After=network.target
|
||||
Documentation=man:tinyproxy(8) man:tinyproxy.conf(5)
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStart=/usr/sbin/tinyproxy
|
||||
PIDFile=/run/tinyproxy/tinyproxy.pid
|
||||
PrivateDevices=yes
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
1
extras/systemd/tinyproxy.tmpfile
Normal file
1
extras/systemd/tinyproxy.tmpfile
Normal file
@ -0,0 +1 @@
|
||||
D /run/tinyproxy 0750 nobody nogroup -
|
Loading…
Reference in New Issue
Block a user