-
-
Save davidstrauss/7146847 to your computer and use it in GitHub Desktop.
This file contains 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
lappi ~ # cat /etc/systemd/system/lxc-mpd.service | |
[Unit] | |
Description=Linux Container %i | |
After=network.target | |
[Service] | |
Type=forking | |
ExecStartPre=/bin/mount --make-rprivate / | |
ExecStart=/usr/local/bin/lxc-start -d -n mpd -o /data/vm/lxc/mpd/mpd.log | |
ExecStop=/usr/bin/kill -sSIGPWR $MAINPID | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment