/lib/systemd/system/ryu.service is in ryu-bin 3.30+dfsg1-1ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | [Unit]
Description=Ryu controller
[Service]
User=root
Group=root
Type=simple
WorkingDirectory=/var/lib/ryu
PermissionsStartOnly=true
ExecStartPre=/bin/mkdir -p /var/lock/ryu /var/log/ryu /var/lib/ryu
ExecStartPre=/bin/chown root:root /var/lock/ryu /var/log/ryu /var/lib/ryu
ExecStart=/etc/init.d/ryu systemd-start
Restart=on-failure
LimitNOFILE=65535
TimeoutStopSec=15
[Install]
WantedBy=multi-user.target
|