diff options
author | Emil Renner Berthing <esmil@labitat.dk> | 2018-10-04 18:45:52 +0200 |
---|---|---|
committer | Emil Renner Berthing <esmil@labitat.dk> | 2019-07-06 22:31:31 +0200 |
commit | 18629c52f8d3d411cc52208e74bfbfc5862996d4 (patch) | |
tree | 07a9d3249497d2ce8e905db78b5a3858db93c56c /roles/doorputer/files/lockserver.service | |
parent | b0c93e842df6aecf1e07adcda3a8771e3f1e9e1e (diff) | |
download | labitat-ansible-18629c52f8d3d411cc52208e74bfbfc5862996d4.tar.gz labitat-ansible-18629c52f8d3d411cc52208e74bfbfc5862996d4.tar.xz labitat-ansible-18629c52f8d3d411cc52208e74bfbfc5862996d4.zip |
doorputer: add role to set up doorputer rpi
Diffstat (limited to 'roles/doorputer/files/lockserver.service')
-rw-r--r-- | roles/doorputer/files/lockserver.service | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/roles/doorputer/files/lockserver.service b/roles/doorputer/files/lockserver.service new file mode 100644 index 0000000..a09666d --- /dev/null +++ b/roles/doorputer/files/lockserver.service @@ -0,0 +1,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 |