forked from kiskaprince/SiriusXM
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsxm.service
More file actions
25 lines (23 loc) · 660 Bytes
/
sxm.service
File metadata and controls
25 lines (23 loc) · 660 Bytes
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
#
# SPDX-License-Identifier: GPL-2.0-or-later
# sxm.py Orginal code: https://github.com/andrew0/SiriusXM
# Updated fork at: https://github.com/mim-tmassey/SiriusXM
#
[Unit]
Description=SiriusXM Channel Service
Requires=network.target
[Service]
WorkingDirectory=/usr/local/sxm
Type=exec
ExecStart=/usr/bin/python3 /usr/local/sxm/sxm.py user password -p 8888
Restart=always
# disallow writing to /usr, /bin, /sbin, ...
ProtectSystem=yes
# more paranoid security settings
ProtectKernelTunables=yes
ProtectControlGroups=yes
ProtectKernelModules=yes
RestrictAddressFamilies=AF_INET AF_INET6 AF_UNIX
RestrictNamespaces=yes
[Install]
WantedBy=multi-user.target