blob: b99288e138c585c9a4c47e21bd75fd5c5e454dfb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
[Unit]
Description=Free Point-Of-Service/Point-Of-Sale software (POS) for the gastronomy.
[Service]
Type=simple
PermissionsStartOnly=true
EnvironmentFile=-/etc/conf.d/ordersprinter
User=ordersprinter
Group=ordersprinter
SyslogIdentifier=OrderSprinter
PIDFile=/run/ordersprinter/ordersprinter.pid
ExecStartPre=/usr/bin/install -d -m755 -o ordersprinter -g ordersprinter /run/ordersprinter
ExecStart=/usr/bin/ordersprinter --pidfile=/run/ordersprinter/ordersprinter.pid
ExecStop=/bin/kill $MAINPID
[Install]
WantedBy=multi-user.target
|