Commit d05f7ed4 authored by Дмитрий Никулин's avatar Дмитрий Никулин Committed by Никита Ефремов

Added systemd .service file

parent c3e215de
[Unit]
Description=Settingsd-server
After=syslog.target network.target
[Service]
Type=simple
ExecStart=/usr/bin/python3 -u /home/drweb/settingsd/settingsd-server.py
WorkingDirectory=/home/drweb/settingsd
Restart=always
RestartSec=20
Environment=PYTHONPATH=vendor
KillSignal=SIGINT
[Install]
WantedBy=multi-user.target
...@@ -7,6 +7,8 @@ enabled = yes ...@@ -7,6 +7,8 @@ enabled = yes
enabled = yes enabled = yes
[system_services] [system_services]
initd_dir = /etc/init.d
serv_mgr_command = /usr/sbin/service
enabled = yes enabled = yes
[machine] [machine]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment