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.
15 lines
384 B
15 lines
384 B
[Unit] |
|
Description=Supysonic Daemon |
|
After={{ 'postgresql.service' if supysonic_DB_type == 'postgres' else mysqld.service }} |
|
After=network.target |
|
[Service] |
|
User=root |
|
Restart=always |
|
RestartSec=2s |
|
Group=root |
|
WorkingDirectory={{source_location}}/{{supysonic_name}} |
|
ExecStart={{venv_location}}{{supysonic_venv_name}}/bin/python -m supysonic.daemon |
|
|
|
|
|
[Install] |
|
WantedBy=multi-user.target
|
|
|