ejabberd-tools/contrib/init/linux-systemd/ejabberd-cleanup.service

14 lines
280 B
SYSTEMD

[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