search for: wantedby

Displaying 20 results from an estimated 212 matches for "wantedby".

Did you mean: wanted
2016 Jul 12
6
Option configure
...AD Daemon Documentation=man:samba(8) man:samba(7) man:smb.conf(5) After=network.target [Service] Type=notify NotifyAccess=all PIDFile=/run/samba.pid LimitNOFILE=16384 EnvironmentFile=-/etc/default/samba ExecStart=/usr/sbin/samba $SAMBAOPTIONS ExecReload=/bin/kill -HUP $MAINPID [Install] WantedBy=multi-user.target Am 12.07.2016 um 20:53 schrieb Sonic: > On Tue, Jul 12, 2016 at 10:09 AM, Sonic <sonicsmith at gmail.com> wrote: >> Mine use Type=forking, I had some issues with Type=notify > Further testing seems to verify that either type works for starting > nmbd and smb...
2019 Oct 22
2
C8 regression / tmp on tmpfs
...wrote: >> Does someone have a working tmp on tmpfs via >> >> systemctl enable tmp.mount >> >> under CentOS8/RHEL8? This seems to work straight in EL7 ... >> >> >> # LANG=C systemctl enable tmp.mount >> The unit files have no installation config (WantedBy, RequiredBy, >> Also, Alias >> settings in the [Install] section, and DefaultInstance for template >> units). > > Looks like a known issue: > > https://bugzilla.redhat.com/show_bug.cgi?id=1667065 > It works in EL7 and F30. In EL8 it seems to be intentional :...
2016 Aug 04
3
[PATCH v2 1/2] firstboot: rename systemd and sysvinit
...dfbbe 100644 --- a/customize/firstboot.ml +++ b/customize/firstboot.ml @@ -82,7 +82,7 @@ fi let firstboot_service = sprintf "\ [Unit] -Description=virt-sysprep firstboot service +Description=libguestfs firstboot service After=network.target Before=prefdm.service @@ -122,10 +122,27 @@ WantedBy=default.target *) let unitdir = "/usr/lib/systemd/system" in g#mkdir_p unitdir; - let unitfile = sprintf "%s/firstboot.service" unitdir in + let unitfile = sprintf "%s/guestfs-firstboot.service" unitdir in g#write unitfile firstboot_service;...
2016 Jul 12
1
Option configure
...yAccess=all >> >> PIDFile=/run/samba.pid >> >> LimitNOFILE=16384 >> >> EnvironmentFile=-/etc/default/samba >> >> ExecStart=/usr/sbin/samba $SAMBAOPTIONS >> >> ExecReload=/bin/kill -HUP $MAINPID >> >> [Install] >> >> WantedBy=multi-user.target >> >> > > that is basically what init scripts do, i.e if fileserver start the > nmbd, smbd and winbindd binaries, if AD DC just start the samba > binary, but is this what Sonic is doing ? > > Rowland > > He mentioned using systemctl start samb...
2019 Oct 21
2
C8 regression / tmp on tmpfs
Does someone have a working tmp on tmpfs via systemctl enable tmp.mount under CentOS8/RHEL8? This seems to work straight in EL7 ... # LANG=C systemctl enable tmp.mount The unit files have no installation config (WantedBy, RequiredBy, Also, Alias settings in the [Install] section, and DefaultInstance for template units). This means they are not meant to be enabled using systemctl. Possible reasons for having this kind of units are: 1) A unit may be statically enabled by being symlinked from another unit's ....
2017 Jun 19
4
[4.2.14-Debian] Smbd not listening on 192.168.0.x on cold start
Am 19.06.2017 um 11:42 schrieb Winfried via samba: > ### BEGIN INIT INFO > # Provides: samba > # Required-Start: > # Required-Stop: > # Default-Start: > # Default-Stop: > # Short-Description: ensure Samba daemons are started (nmbd and smbd) > ### END INIT INFO well, there is no ordering with network services most likely your samba starts before the network is
2015 Dec 23
1
Starting stunnel on boot with CentOS7
...pm -qf /path/to/file to it to verify) Of course this is what the OP should do too ... a very simple unit file that matches his needs... cat > /etc/systemd/system/stunnel.service <<EOF [Unit] Description=My stunnel [Service] ExecStart=/usr/bin/stunnel /etc/stunnel/myconf.conf [Install] WantedBy=multi-user.target EOF In the config file set foreground to yes .... For a more advanced setup use a template like: cat > /etc/systemd/stunnel at .service <<<EOF [Unit] Description=Stunnel config for %i [Service] ExecStart=/usr/bin/stunnel /etc/stunnel/%i.conf [Install] WantedBy=mul...
2019 Nov 21
3
Issue with "ExecStartPost" attribute in systemd daemon faile
...c.target #OnFailure=crond-notify-email@%i.service [Service] EnvironmentFile=/etc/sysconfig/crond ExecStart=/usr/sbin/crond -n $CRONDARGS ExecReload=/bin/kill -HUP $MAINPID KillMode=process Restart=on-failure RestartSec=10s ExecStartPost=/bin/sh -c "/etc/systemd/system/test.sh" [Install] WantedBy=multi-user.target My "test.sh" is very simple: #!/bin/sh echo "CROND is restarting" | /usr/bin/mailx -s "crond failure notification" myemailaddress at mydomain As you can see, I have added lines "Restart=on-failure", "RestartSec=10s" and " Exe...
2016 Dec 26
1
change in CTDB-howto
...is, that the name of the file MUST be the same as the mountpoint it self! Here the content of the file: - -------------------------- [Unit] Description = CTDB Data dir After=network.target glusterfs-server.service [Mount] What=c1:/gv1 Where=/glusterfs Type=glusterfs Options=defaults,acl [Install] WantedBy=multi-user.target - -------------------------- To activate the target do a - -------- systemctl enable glusterfs.mount - -------- Now after restarting the system the glusterfs-filesystem is mounted. The new howto is here: https://www.kania-online.de/wp-content/uploads/2016/12/ubuntu-cluster.tx t -...
2020 May 30
1
Current thinking on backups ?
...il down. mysync.timer ============ # Run the mbsync process to sync mail down to local mediabox [Unit] Description=mbsync timer ConditionPathExists=%h/.mbsyncrc ConditionPathIsDirectory=/stuff/Backups/Mailsystems/mbsync-backups [Timer] OnBootSec=15m OnCalendar=hourly Persistent=true [Install] WantedBy=timers.target mysync.service ============== # mbsync service [Unit] Description=mbsync backup from mailsystems ConditionPathExists=%h/.mbsyncrc ConditionPathIsDirectory=/stuff/Backups/Mailsystems/mbsync-backups [Service] Type=oneshot ExecStart=/usr/local/bin/mbsync backup [Install] WantedBy=de...
2016 Aug 02
2
centos 7- boot doesn't wait for startup script to complete
...to run by creating the systemd service file... a simple one as shown below, for Myservices. # used to set up the Myservices onstartup[Unit]Description=Start and stop Myservices[Service]Type=oneshotExecStart=/etc/init.d/Myservices startExecStop=/etc/init.d/Myservices stopRemainAfterExit=yes[Install]WantedBy=multi-user.targetThis works. When the server starts Myservices is initiated.? However the boot keeps going. When I log in Myservices is still running.? it takes about 5 minutes to complete.? This is normal.? What is different is the boot up used to wait for the service to finish and then continue.?...
2015 Dec 23
3
Starting stunnel on boot with CentOS7
On my CenOS7 system with stunnel from base stunnel-4.56-4.el7.x86_64 there's a systemd service file /etc/systemd/system/stunnel.service try sudo systemctl enable stunnel.service Hope this helps, K ?al?
2014 Oct 27
1
tinydns exceeds "holdoff time" on startup under CentOS 7
...service looks as follows: [root at ns99 etc]# more /usr/lib/systemd/system/tinydns.service [Unit] Description=A DNS server daemon Documentation=man:tinydns(8) Requires=network.target After=network.target [Service] Restart=always PIDFile=/var/run/tinydns.pid ExecStart=/usr/sbin/tinydns [Install] WantedBy=multi-user.target [root at ns99 etc]# I can't possibly spot anything wrong there. Any help much appreciated. Cheers, Boris.
2020 Jul 24
0
samba4 kerberized nfs4 with sssd ad client
...stemd config and any mounts/automounts # Server1 for NFS export (mount-bind) # /etc/systemd/system/exports-users.mount [Unit] Description=SambaUsers Mount-bind (to /exports/users ) Wants=network-online.target [Mount] What=/home/samba/users Where=/exports/users Type=none Options=bind [Install] WantedBy=multi-user.target #### NFS server is ready to serve # For a client HOME-USERS. # The mounter ( mount --bind ) and for the NFS export. ( server 1 only) # /etc/systemd/system/home-users.mount [Unit] Description=SambaUsers Mount-bind (to /home/users) Wants=network-online.target [Mount] What=/h...
2020 Jul 24
4
samba4 kerberized nfs4 with sssd ad client
Hi everyone, I have a samba DC, let's call it dc1.ad.example.com. I have two members of the domain - server1.ad.example.com and server2.ad.example.com.?? They are not running smbd and winbind. Instead, they are running SSSD with AD backend. I want to create an NFSv4 export on server1.ad.example.com and mount it on server2.ad.example.com (say, sec=krb5). I found some instructions online
2018 Oct 09
0
NFSv4, homes, Kerberos...
...8.0.0/24(rw,sync,no_subtree_check,sec=sys:krb5:krb5i:krb5p) With in systemd the following : cat /etc/systemd/system/exports-users.mount [Unit] Description=NFS export (/exports/users) Wants=network-online.target [Mount] What=/home/samba/users Where=/exports/users Type=none Options=bind [Install] WantedBy=multi-user.target And adjust above to your needs. Using NfsV4 with kerberos, gives also a problem that kerberos wants to read a file in users home. But depending on you settings you might have blocked that. ## For the CLIENT NFS ## You can set : ignore_k5login = true in krb5.conf [libdefaults]...
2016 Aug 26
2
[PATCH 1/2] customize: Fix firstboot scripts on Debian 6 & 7 (RHBZ#1019388).
I have only verified the fix on Debian 7. The Debian 6 guest doesn't appear to boot, I'm not sure why. The second patch contains a test suite. Rich.
2017 Mar 14
3
Relaiable ssh tunnel via systemd
...rAliveInterval 60" -N -R 40443:installserver:40443 -R 8080:installserver:8080 ExecStartPre=-/usr/bin/ssh tunnel@%i "for pid in $$(ps -u tunnel | grep sshd| cut -d' ' -f1); do kill -9 $$pid; echo kill old ssh process p Restart=always RestartSec=5s StartLimitInterval=0 [Install] WantedBy=multi-user.target }}} Unfortunately on some hosts we see this warning again and again: Mar 13 23:11:14 remotehost sshd[10938]: error: bind: Address already in use Mar 13 23:11:14 remotehost sshd[10938]: error: channel_setup_fwd_listener: cannot listen to port: 40443 Mar 13 23:11:14 remotehost ssh...
2017 Sep 25
1
A lot of zombie processes on Debian 9
...o many zombies. [Unit] Description=Samba AD Daemon Documentation=man:samba(8) man:samba(7) man:smb.conf(5) After=network.target [Service] Type=notify NotifyAccess=all PIDFile=/server/samba/bin/var/run/samba.pid ExecStart=/server/samba/bin/sbin/samba ExecReload=/bin/kill -HUP $MAINPID [Install] WantedBy=multi-user.target Greetz, Louis > -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens > Daniel Carrasco via samba > Verzonden: maandag 25 september 2017 15:27 > Aan: samba at lists.samba.org > Onderwerp: Re: [Samba] A lot of zombi...
2018 Jan 10
2
Issues accessing ZFS-shares on Linux
...a(7) man:smb.conf(5) After=network.target nmbd.service winbind.service [Service] Type=notify NotifyAccess=all PIDFile=/var/run/samba/smbd.pid LimitNOFILE=16384 EnvironmentFile=-/etc/default/samba ExecStart=/usr/sbin/smbd $SMBDOPTIONS ExecReload=/bin/kill -HUP $MAINPID LimitCORE=infinity [Install] WantedBy=multi-user.target Jeremy Allison via samba kirjoitti 9.1.2018 klo 21:47: > On Tue, Jan 09, 2018 at 07:57:41AM +0200, John Doe via samba wrote: >> I added one testshare /home/testijako and connected to it with the same >> credentials as I would connect to ZFS-shares. Then I did the s...