Created
September 7, 2016 17:19
-
-
Save zzeroo/c39709b119744af000510d97515910e9 to your computer and use it in GitHub Desktop.
Weston systemd unit
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=Weston launcher | |
| RequiresMountsFor=/run | |
| [email protected] | |
| [Service] | |
| Restart=alway | |
| RestartSec=10 | |
| User=root | |
| EnvironmentFile=-/etc/default/weston | |
| Environment=XDG_RUNTIME_DIR=/run/user/root | |
| ExecStartPre=/bin/mkdir -p /run/user/root | |
| ExecStartPre=/bin/chmod 0700 /run/user/root | |
| ExecStart=/usr/bin/weston --tty=1 --log=/var/log/weston.log | |
| [Install] | |
| WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment