File: uruk.service

package info (click to toggle)
uruk 20190121-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 1,188 kB
  • sloc: sh: 1,852; makefile: 151; xml: 51
file content (21 lines) | stat: -rw-r--r-- 629 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# uruk.service - uruk systemd service file
# to be installed as /lib/systemd/system/uruk.service

# see systemd.service(5) and https://wiki.debian.org/Teams/pkg-systemd/rcSMigration

[Unit]
Description=Uruk firewall service
Wants=network-pre.target
Before=network-pre.target shutdown.target
Conflicts=shutdown.target

# act sane on "systemctl disable uruk" and "systemctl enable uruk"
[Install]
WantedBy=multi-user.target

# FIXME  how do we handle network interfaces getting assigned IPs? ifupdown?
# shouldn't we load the block-all-traffic ruleset here?
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/sbin/urukctl start