Steve McIntyre | 337a6fc | 2015-09-07 15:32:09 +0100 | [diff] [blame] | 1 | # systemd service file for VLANd |
| 2 | |
| 3 | [Unit] |
| 4 | Description=VLAN daemon |
Steve McIntyre | 61ed15f | 2015-09-07 16:11:37 +0100 | [diff] [blame] | 5 | Requires=postgresql.service |
Steve McIntyre | 337a6fc | 2015-09-07 15:32:09 +0100 | [diff] [blame] | 6 | |
| 7 | [Service] |
| 8 | Type=simple |
| 9 | ExecStart=/home/vland/vland/vland.py |
Steve McIntyre | 709f910 | 2016-03-12 12:37:49 +0000 | [diff] [blame] | 10 | ExecStop=/home/vland/vland/admin.py shutdown |
Steve McIntyre | 337a6fc | 2015-09-07 15:32:09 +0100 | [diff] [blame] | 11 | WorkingDirectory=/home/vland/vland |
| 12 | User=vland |
| 13 | |
| 14 | [Install] |
| 15 | WantedBy=multi-user.target |