aboutsummaryrefslogtreecommitdiffstats
path: root/roles/doorputer/files/lockserver.service
blob: a09666d7e549630f2ec9472d0414ccc9af6c75b2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=Lockserver

[Service]
Type=simple
User=doorman
WorkingDirectory=/home/doorman
ExecStartPre=/home/doorman/lockserver/init.sh
ExecStart=/home/doorman/lockserver/lockd.py
StandardOutput=syslog
StandardError=inherit
Restart=on-failure

[Install]
WantedBy=multi-user.target