Skip to content

Commit 950b420

Browse files
flound1129claude
andcommitted
feat(packaging): add user-mode systemd service for squall-web
Mirrors the existing user squalld.service so squall-web can be run as a per-user unit alongside it, rather than only the system-wide service. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent f379e01 commit 950b420

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

debian/squall-web.install

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
packaging/systemd/squall-web.service lib/systemd/system
2+
packaging/systemd/user/squall-web.service usr/lib/systemd/user
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
[Unit]
2+
Description=Squall Bittorrent Client Web Interface
3+
Documentation=man:squall-web
4+
After=squalld.service
5+
Wants=squalld.service
6+
7+
[Service]
8+
Type=simple
9+
UMask=027
10+
11+
ExecStart=/usr/bin/squall-web -d
12+
Restart=on-failure
13+
Slice=background.slice
14+
15+
NoNewPrivileges=yes
16+
PrivateTmp=yes
17+
ProtectSystem=full
18+
ProtectKernelTunables=yes
19+
ProtectKernelModules=yes
20+
ProtectControlGroups=yes
21+
22+
[Install]
23+
WantedBy=default.target

0 commit comments

Comments
 (0)