File: vcstime.service

package info (click to toggle)
kbd 2.9.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 15,980 kB
  • sloc: ansic: 14,562; javascript: 3,038; sh: 1,154; pascal: 643; makefile: 614; lex: 542; yacc: 338; perl: 126; python: 96; sed: 6
file content (25 lines) | stat: -rw-r--r-- 678 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# How to use this file:
# copy me to /etc/systemd/system/vcstime.service
# systemctl daemon-reload
# systemctl enable vcstime.service
# systemctl start vcstime.service

[Unit]
Description=Show time in upper right hand corner of the console screen
Documentation=man:vcstime(8)
ConditionPathExists=/dev/vcsa

[Service]
ExecStart=/usr/sbin/vcstime
Restart=on-failure
# vcstime needs access to /dev/vcs* (this setting is already the default)
#PrivateDevices=false
# Other optional security enhancing settings that can be used.
# (uncomment to enable extra hardening.)
#PrivateNetwork=true
#ProtectSystem=full
#ProtectHome=true
#PrivateTmp=true

[Install]
WantedBy=multi-user.target