summaryrefslogtreecommitdiff
path: root/etherpad.service
blob: 98bd8286880692962849fe6d88b9c72c904a2e33 (plain)
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 = Etherpad container
After = network.target
ConditionPathExists = /srv/etherpad

[Service]
Type = simple
ExecStartPre = -/usr/bin/podman stop etherpad

User = etherpad
Group = etherpad

ExecStart = /usr/bin/podman run \
	--rm \
	--name etherpad \
	--net host \
	-v /srv/etherpad/var:/opt/etherpad/var
	etherpad

Restart = always

[Install]
WantedBy = default.target