mirror of https://github.com/jdcantrell/spice
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
360 B
17 lines
360 B
[Unit]
|
|
Description=spice
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
# Edit WorkingDirectory, User and Group as needed
|
|
WorkingDirectory=/path/to/spice/
|
|
User=spice
|
|
Group=spice
|
|
ExecStart=/usr/local/bin/pipenv run uwsgi --master -s 127.0.0.1:9090 --manage-script-name --mount /=main:app
|
|
Restart=always
|
|
SyslogIdentifier=Spice
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|