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

[Service]
Type=oneshot
User=nobody
Group=nobody
Environment="VIRTUAL_ENV=/opt/ejabberd-tools/venv"
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