20 lines
449 B
Desktop File
20 lines
449 B
Desktop File
[Unit]
|
|
Description=RQ Worker Number %i
|
|
After=network.target
|
|
|
|
[Service]
|
|
User=motus
|
|
Type=simple
|
|
WorkingDirectory=/home/motus/motus_remote/web
|
|
Environment=LANG=en_GB.UTF-8
|
|
Environment=LC_ALL=en_GB.UTF-8
|
|
Environment=LC_LANG=en_GB.UTF-8
|
|
ExecStart=/bin/bash -c "/home/motus/.local/bin/pipenv run rq worker motus"
|
|
ExecReload=/bin/kill -s HUP $MAINPID
|
|
ExecStop=/bin/kill -s TERM $MAINPID
|
|
PrivateTmp=true
|
|
Restart=always
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|