|
# This file assumes that you installed Slovo in /home/$USER/opt/slovo
# like this:
# cpanm -L ~/opt/slovo Slovo
# Modify this file by replacing $USER with your username and copy it to
# /etc/systemd/system/slovo.service
[Unit]
Description=Роботници за Слово
After=slovo.service
[Install]
WantedBy=multi-user.target
[Service]
Type=simple
ExecStart=/home/$USER/opt/slovo/bin/slovo minion worker -m production
KillMode=process
WorkingDirectory=/home/$USER/opt/slovo/bin
User=$USER
Group=$USER
SyslogIdentifier=slovo_minion
|