| 1 |
# How to use this file: |
| 2 |
# copy me to /etc/systemd/system/vcstime.service |
| 3 |
# systemctl daemon-reload |
| 4 |
# systemctl enable vcstime.service |
| 5 |
# systemctl start vcstime.service |
| 6 |
|
| 7 |
[Unit] |
| 8 |
Description=Show time in upper right hand corner of the console screen |
| 9 |
Documentation=man:vcstime(8) |
| 10 |
ConditionPathExists=/dev/vcsa |
| 11 |
|
| 12 |
[Service] |
| 13 |
ExecStart=/usr/sbin/vcstime |
| 14 |
Restart=on-failure |
| 15 |
# vcstime needs access to /dev/vcs* (this setting is already the default) |
| 16 |
#PrivateDevices=false |
| 17 |
# Other optional security enhancing settings that can be used. |
| 18 |
# (uncomment to enable extra hardening.) |
| 19 |
#PrivateNetwork=true |
| 20 |
#ProtectSystem=full |
| 21 |
#ProtectHome=true |
| 22 |
#PrivateTmp=true |
| 23 |
|
| 24 |
[Install] |
| 25 |
WantedBy=multi-user.target |