aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/init/linux-systemd/ejabberd-cleanup.service
blob: 4bea47482b1a5921ef91806c42d451e7e0b47d98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
[Unit]
Description=Clean up ejabberd

[Service]
Type=oneshot
User=nobody
Group=nobody
Environment="PATH=/opt/ejabberd-tools/venv/bin:/usr/local/bin:/usr/bin:/bin"
ExecStart=/opt/ejabberd-tools/cleanup.py
WorkingDirectory=/opt/ejabberd-tools/

[Install]
WantedBy=multi-user.target