mirror of
https://git.disroot.org/pranav/pybatmesh.git
synced 2024-11-26 08:42:03 +05:30
Pranav Jerry
72dda12d7b
pybatmesh better describes the project and does not attract the attention of caged investigation agencies, like it probably would have before. I probably left traces of the original name somewhere, so this commit will likely be followed by other commits to erase all traces of the previous name
31 lines
758 B
Desktop File
31 lines
758 B
Desktop File
# The pybatmesh systemd service
|
|
# See man:systemd.service(5) and man:systemd.unit(5)
|
|
# before editing this file.
|
|
[Unit]
|
|
Description=Setup mesh networks
|
|
Requires=systemd-networkd.service
|
|
Requires=iwd.service
|
|
Wants=systemd-resolved.service
|
|
After=iwd.service
|
|
After=systemd-networkd.service
|
|
After=systemd-resolved.service
|
|
# Stops NetworkManager if already running
|
|
Conflicts=NetworkManager.service
|
|
# This stops NetworkManager when pybatmesh is enabled
|
|
After=NetworkManager.service
|
|
|
|
[Service]
|
|
Type=notify
|
|
NotifyAccess=all
|
|
Restart=on-failure
|
|
RestartSec=2sec
|
|
ExecStart=pybatmesh --systemd
|
|
KillSignal=SIGINT
|
|
# pybatmesh already logs to systemd journal so we don't need
|
|
# stdout and stderr.
|
|
StandardOutput=null
|
|
StandardError=null
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|