File: sispmctl.service

package info (click to toggle)
sispmctl 4.12-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,964 kB
  • sloc: sh: 4,602; ansic: 1,629; makefile: 77; xml: 28
file content (51 lines) | stat: -rw-r--r-- 1,284 bytes parent folder | download | duplicates (2)
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Systemd service definition for running sispmctl as web sever. Install with
# cp sispmctl.service /lib/systemd/system
#
# The required user can be created on Debian/Ubuntu with
# adduser sispmctl --system --group --disabled-login --no-create-home
#
# The required authorizations can be granted with
# cp 60-sispmctl.rules /lib/udev/rules.d/60-sispmctl.rules
#
# Enable and start the service with
# systemctl enable sispmctl.service
# systemctl start sispmctl.service

[Unit]
Description=SiS PM Control for Linux
Wants=network-online.target
After=network-online.target
Wants=systemd-udev-settle.service
After=systemd-udev-settle.service

[Install]
WantedBy=multi-user.target

[Service]
CapabilityBoundingSet=
LockPersonality=true
MemoryDenyWriteExecute=true
NoNewPrivileges=true
PrivateTmp=true
PrivateUsers=true
#ProtectClock=true
ProtectControlGroups=true
ProtectHome=true
ProtectKernelModules=true
ProtectKernelTunables=true
ProtectSystem=strict
RemoveIPC=true
RestrictAddressFamilies=AF_INET AF_INET6
RestrictNamespaces=true
RestrictRealtime=true
SystemCallFilter=@system-service
SystemCallArchitectures=native
UMask=177

DynamicUser=true
SupplementaryGroups=sispmctl
Type=forking
ExecStart=/usr/local/bin/sispmctl -p 2638 -l
SyslogIdentifier=sispmctl
Restart=always
RestartSec=5