-
Notifications
You must be signed in to change notification settings - Fork 14
/
minipos.service
37 lines (34 loc) · 1.09 KB
/
minipos.service
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# MiniPOS systemctl unit file
#
# To use as a system unit:
# 1. Place this file in /etc/systemd/system/
# 2. Add the path to your data directory to the end of "ExecStart="
#
# To use as a system unit with a secure per-user setup:
# 1. Place this file in /etc/systemd/system/
# 2. Create your data directory in $HOME/.minipos or in $HOME/.config/minipos
# 3. Uncomment and set the "User=" and "Group=" settings to your unprivileged
# MiniPOS user
# --OR--
# 3. Uncomment the "User=" and "Group=" settings and start the service as
# "systemctl start minipos@USER.service" where USER is your username
#
# To use as a user unit:
# 1. Place this file in $HOME/.config/systemd/user/
# 2. Add the path to your data directory to the end of "ExecStart="
# --OR--
# 2. Create your data directory in $HOME/.minipos or in $HOME/.config/minipos
#
# Once you are done, run "systemctl daemon-reload", "systemctl enable" and
# "systemctl start" as usual.
[Unit]
Description=MiniPOS
After=network.target
[Service]
Type=simple
ExecStart=/PATH/TO/minipos
StandardError=null
#User=%i
#Group=%i
[Install]
WantedBy=multi-user.target