-
-
Notifications
You must be signed in to change notification settings - Fork 273
Systemd Script Example
Davis Zerro edited this page Apr 16, 2020
·
4 revisions
Author: Eana Hufwe
Written for EFB 2.0.0b9
Change your running profile, language, and data path accordingly.
/etc/systemd/system/ehforwarderbot.service
[Unit]
Description=EH Forwarder Bot instance
After=network.target
Wants=network.target
Documentation=https://github.com/blueset/ehForwarderBot
[Service]
Type=simple
Environment='EFB_PROFILE=default' 'LANG=en_US.UTF-8' 'PYTHONIOENCODING=utf_8' 'EFB_DATA_PATH=/etc/ehforwarderbot'
ExecStart=/usr/local/bin/ehforwarderbot --verbose --profile=${EFB_PROFILE}
Restart=on-abort
KillSignal=SIGINT
StandardOutput=journal
StandardError=journal
[Install]
WantedBy=multi-user.target
Alias=efb.service