I installed "openntpd-3.9p1" (there was no ntpd installed) on ubuntu(followed normal steps ./configure , make , make install). but when i run ntpd (./ntpd) it gives "ntpd wrong user :_ntp". I need to start the daemon from the command line and not during boot up.
Have you seen this?
D4ve
https://bbs.archlinux.org/profile.php?id=62494
2012-08-31T20:01:43Z
please use code tags.you may want to use this service file instead:[Unit]
Description=i3lock
Before=sleep.target
[Service]
User=<user>
Type=forking
Environment=DISPLAY=:0
ExecStart=/usr/bin/i3lock -c 000000
[Install]
WantedBy=sleep.targetsystemctl enable i3lock.service
65kid
https://bbs.archlinux.org/profile.php?id=45818
2012-10-04T13:58:35Z
65kid: Here is the new version,[Unit]
Description=Send IP over SMS
After=network.target
[Service]
Type=oneshot
ExecStart=/root/bin/sendip.sh
TimeoutSec=0
StandardInput=tty
[Install]
WantedBy=multi-user.targetBut there is still something wrong.
I've got the same problem here, my setup is nearly identical.
D4ve
https://bbs.archlinux.org/profile.php?id=62494
2012-09-20T20:47:42Z
As far as I know the [Install] section just decides where the symlink gets put WHEN you enable, it does not automatically enable the unit. After a fresh boot, try searching for ntpd.service in /etc/systemd/system/multi-user.target.wants, which is the list which actually is enabled by you the user.
Further investigation indicates that the problem lies in the privoxy.service file.This file, included in the latest version of the package fails: [Unit]
Description=Privoxy Web Proxy With Advanced Filtering Capabilities
After=network.target
[Service]
Type=forking
PIDFile=/run/privoxy.pid
ExecStart=/usr/sbin/privoxy --pidfile /run/privoxy.pid --user privoxy.privoxy /etc/privoxy/config
[Install]
W
This works for me, YMMV:/etc/systemd/system/screen.service[Unit]
Description=Detached screen session
After=network.target
[Service]
Type=oneshot
RemainAfterExit=yes
User=tomk
ExecStart=/usr/bin/screen -dm
[Install]
Wants=network.target
WantedBy=multi-user.target ~/.screenrc...
screen -t rtorrent 5 /usr/bin/rtorrent
...
tomk
https://bbs.archlinux.org/profile.php?id=1822
2013-03-
sim590 wrote:Time displayed in gnome (I use gnome GUI) and from the output of "date" are wrong.Install chrony - that seems to be the best (others are ntpd and openntpd).the time on windows (which is on another partition on the same disk) is wrong too.You have to sync Arch & Windows to use either UTC (best) or localtime.
brebs
https://bbs.archlinux.org/profile.php?id=10353