This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Test NetworkNamespacePath with DynamicUser | |
After=network-online.target | |
Wants=network-online.target | |
[Service] | |
Type=simple | |
# Use DynamicUser to create a temporary user for the service | |
DynamicUser=true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# put in /etc/systemd/system/netns-wg.service | |
[Unit] | |
Description=Start a VPN Network Namespace | |
After=network.target | |
[Service] | |
Type=oneshot | |
RemainAfterExit=true |
OlderNewer